package com.example.entity.dto;

import cn.hutool.core.annotation.Alias;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Data
public class InfoDTO {



    @Alias("学号")
    @Column(name = "number")
    private String number;

    @Alias("学院")
    @Column(name = "college")
    private String college;

    @Alias("专业")
    @Column(name = "major")
    private String major;
}
